using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using BUS;
using Entities;
using Utility;
public partial class Admin_DoanhNghiepAdd : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Themdn_Click(object sender, EventArgs e)
    {
        tbDoanhNghiep dn = new tbDoanhNghiep();
        dn.TenDoanhNghiep = TextBox1.Text;
        dn.DiaChi = TextBox2.Text;
        dn.DienThoai = int.Parse(TextBox3.Text);
        dn.Email = TextBox4.Text;
        tbDoanhNghiepBus.Insert_DoanhNghiep(dn);
        Response.Redirect("~/Admin/DoanhNghiepAdd.aspx");
    }
}
